﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Fabrikatorum.Fabrikator.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" lang="tr">
<head runat="server">
		<meta charset="utf-8">
		<title>Fabrikatör (Aytaç Sunar tarafından yazıldı ve geliştirildi)</title>
		<meta name="description" content="Fabrikatör, yep yeni bir kapital oyundur.">
		<meta name="author" content="Fabrikatör">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link href="plugins/bootstrap/bootstrap.css?v=20140709" rel="stylesheet">
		<link href="plugins/jquery-ui/jquery-ui.min.css?v=20140709" rel="stylesheet">
		<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
		<link href='http://fonts.googleapis.com/css?family=Righteous' rel='stylesheet' type='text/css'>
		<link href="plugins/fancybox/jquery.fancybox.css?v=20140709" rel="stylesheet">
		<link href="plugins/fullcalendar/fullcalendar.css?v=20140709" rel="stylesheet">
		<link href="plugins/xcharts/xcharts.min.css?v=20140709" rel="stylesheet">
		<link href="plugins/select2/select2.css?v=20140709" rel="stylesheet">
		<link href="css/style.css?v=20140709" rel="stylesheet">
    <link href="css/jqvmap.css?v=20140709" rel="stylesheet" />

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
				<script src="http://getbootstrap.com/docs-assets/js/html5shiv.js"></script>
				<script src="http://getbootstrap.com/docs-assets/js/respond.min.js"></script>
		<![endif]-->
	</head>
<body>
    <form id="form1" runat="server">
        <!--Start Header-->
<div id="screensaver">
	<canvas id="canvas"></canvas>
	<i class="fa fa-lock" id="screen_unlock"></i>
</div>
<div id="modalbox">
	<div class="devoops-modal">
		<div class="devoops-modal-header">
			<div class="modal-header-name">
				<span>Basic table</span>
			</div>
			<div class="box-icons">
				<a class="close-link">
					<i class="fa fa-times"></i>
				</a>
			</div>
		</div>
		<div class="devoops-modal-inner">
		</div>
		<div class="devoops-modal-bottom">
		</div>
	</div>
</div>
<header class="navbar">
	<div class="container-fluid expanded-panel">
		<div class="row">
			<div id="logo" class="col-xs-12 col-sm-2">
				<a href="Default.aspx"><img src="img/logo.png" class="img-responsive" style="width:180px" /></a>
			</div>
			<div id="top-panel" class="col-xs-12 col-sm-10">
				<div class="row">
					<div class="col-xs-8 col-sm-4">
						<a href="#" class="show-sidebar">
						  <i class="fa fa-bars"></i> MENÜ 
						</a>
                        <div id="server-time"></div>
<%--						<div id="search">
							<input type="text" placeholder="search"/>
							<i class="fa fa-search"></i>
						</div>--%>
					</div>
					<div class="col-xs-4 col-sm-8 top-panel-right">
						<ul class="nav navbar-nav pull-right panel-menu">
							<li class="hidden-xs">
								<a href="Default.aspx" class="modal-link">
									<i class="fa fa-bell"></i>
									<span class="badge">7</span>
								</a>
							</li>
							<li class="hidden-xs">
								<a class="ajax-link" href="Default.aspx#ajax/calendar.html">
									<i class="fa fa-calendar"></i>
									<span class="badge">7</span>
								</a>
							</li>
							<li class="hidden-xs">
								<a href="Default.aspx#ajax/page_messages.html" class="ajax-link">
									<i class="fa fa-envelope"></i>
									<span class="badge">7</span>
								</a>
							</li>
							<li class="dropdown">
								<a href="#" class="dropdown-toggle account" data-toggle="dropdown">
									<div class="avatar">
										<img src="img/avatar.jpg" class="img-rounded" alt="avatar" />
									</div>
									<i class="fa fa-angle-down pull-right"></i>
									<div class="user-mini pull-right">
										<span class="welcome">Welcome,</span>
										<span>Jane Devoops</span>
									</div>
								</a>
								<ul class="dropdown-menu">
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											<span class="hidden-sm text">Profile</span>
										</a>
									</li>
									<li>
										<a href="Default.aspx#ajax/page_messages.html" class="ajax-link">
											<i class="fa fa-envelope"></i>
											<span class="hidden-sm text">Messages</span>
										</a>
									</li>
									<li>
										<a href="Default.aspx#ajax/gallery_simple.html" class="ajax-link">
											<i class="fa fa-picture-o"></i>
											<span class="hidden-sm text">Albums</span>
										</a>
									</li>
									<li>
										<a href="Default.aspx#ajax/calendar.html" class="ajax-link">
											<i class="fa fa-tasks"></i>
											<span class="hidden-sm text">Tasks</span>
										</a>
									</li>
									<li>
										<a href="#">
											<i class="fa fa-cog"></i>
											<span class="hidden-sm text">Settings</span>
										</a>
									</li>
									<li>
										<a href="Sayfa/UyeCikis.aspx">
											<i class="fa fa-power-off"></i>
											<span class="hidden-sm text">Logout</span>
										</a>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</header>
<!--End Header-->
<!--Start Container-->
<div id="main" class="container-fluid">
	<div class="row">
		<div id="sidebar-left" class="col-xs-2 col-sm-2">
			<ul class="nav main-menu">
				<li>
					<a href="Default.aspx#ajax/dashboard.html" class="active ajax-link">
						<i class="fa fa-home"></i>
						<span class="hidden-xs">Ana Sayfa</span>
					</a>
				</li>
				 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Fabrikalariniz.aspx">
						 <i class="fa fa-building-o"></i>
						 <span class="hidden-xs">Fabrikalarınız</span>
					</a>
				 </li>
                 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Magazalariniz.aspx">
						 <i class="fa fa-shopping-cart"></i>
						 <span class="hidden-xs">Mağazalarınız</span>
					</a>
				 </li>
				 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Konsorsiyumlar.aspx">
						 <i class="fa fa-group"></i>
						 <span class="hidden-xs">Konsorsiyumlar</span>
					</a>
				 </li>
				 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/BonoPiyasasi.aspx">
						 <i class="fa fa-th"></i>
						 <span class="hidden-xs">Bono Piyasası</span>
					</a>
				 </li>
                 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Bonolariniz.aspx">
						 <i class="fa fa-th-large"></i>
						 <span class="hidden-xs">Bonolarınız</span>
					</a>
				 </li>

                 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Banka.aspx">
						 <i class="fa fa-suitcase"></i>
						 <span class="hidden-xs">Banka</span>
					</a>
				 </li>
                 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Seminerler.aspx">
						 <i class="fa fa-coffee"></i>
						 <span class="hidden-xs">Seminerler</span>
					</a>
				 </li>
                 <li>
					<a class="ajax-link" href="Default.aspx#Sayfa/Harita.aspx">
						 <i class="fa fa-map-marker"></i>
						 <span class="hidden-xs">Şehirler</span>
					</a>
				 </li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-bar-chart-o"></i>
						<span class="hidden-xs">Charts</span>
					</a>
					<ul class="dropdown-menu">
                          <li><a href="Fabrikator.aspx?Sayfa=AnaSayfa">AnaSayfa</a></li>
  <li><a class="ajax-link" href="Default.aspx#Sayfa/Fabrikalariniz.aspx">Fabrikalarınız</a></li>
  <li><a href="Fabrikator.aspx?Sayfa=Fabrikalariniz">Konsorsiyumlar</a></li>
  <li><a href="Fabrikator.aspx?Sayfa=Fabrikalariniz">Banka</a></li>
  <li><a href="Fabrikator.aspx?Sayfa=Fabrikalariniz">Seminerler</a></li>
  <li><a href="Fabrikator.aspx?Sayfa=Bonolariniz">Bonolarınız</a></li>
  <li><a href="Fabrikator.aspx?Sayfa=BonoPiyasasi">Bono Piyasası</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/charts_xcharts.html">xCharts</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/charts_flot.html">Flot Charts</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/charts_google.html">Google Charts</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/charts_morris.html">Morris Charts</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/charts_coindesk.html">CoinDesk realtime</a></li>
                        <li><a class="ajax-link" href="Default.aspx#Sayfa/test.html">CoinDesk realtime</a></li>
					</ul>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-table"></i>
						 <span class="hidden-xs">Tables</span>
					</a>
					<ul class="dropdown-menu">
						<li><a class="ajax-link" href="Default.aspx#ajax/tables_simple.html">Simple Tables</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/tables_datatables.html">Data Tables</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/tables_beauty.html">Beauty Tables</a></li>
					</ul>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-pencil-square-o"></i>
						 <span class="hidden-xs">Forms</span>
					</a>
					<ul class="dropdown-menu">
						<li><a class="ajax-link" href="Default.aspx#ajax/forms_elements.html">Elements</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/forms_layouts.html">Layouts</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/forms_file_uploader.html">File Uploader</a></li>
					</ul>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-desktop"></i>
						 <span class="hidden-xs">UI Elements</span>
					</a>
					<ul class="dropdown-menu">
						<li><a class="ajax-link" href="Default.aspx#ajax/ui_grid.html">Grid</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/ui_buttons.html">Buttons</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/ui_progressbars.html">Progress Bars</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/ui_jquery-ui.html">Jquery UI</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/ui_icons.html">Icons</a></li>
					</ul>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-list"></i>
						 <span class="hidden-xs">Pages</span>
					</a>
					<ul class="dropdown-menu">
						<li><a href="Default.aspx#ajax/page_login.html">Login</a></li>
						<li><a href="Default.aspx#ajax/page_register.html">Register</a></li>
						<li><a id="locked-screen" class="submenu" href="ajax/page_locked.html">Locked Screen</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/page_contacts.html">Contacts</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/page_feed.html">Feed</a></li>
						<li><a class="ajax-link add-full" href="Default.aspx#ajax/page_messages.html">Messages</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/page_pricing.html">Pricing</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/page_invoice.html">Invoice</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/page_search.html">Search Results</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/page_404.html">Error 404</a></li>
						<li><a href="ajax/page_500.html">Error 500</a></li>
					</ul>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-map-marker"></i>
						<span class="hidden-xs">Maps</span>
					</a>
					<ul class="dropdown-menu">
						<li><a class="ajax-link" href="Default.aspx#ajax/maps.html">OpenStreetMap</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/map_fullscreen.html">Fullscreen map</a></li>
					</ul>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-picture-o"></i>
						 <span class="hidden-xs">Gallery</span>
					</a>
					<ul class="dropdown-menu">
						<li><a class="ajax-link" href="Default.aspx#ajax/gallery_simple.html">Simple Gallery</a></li>
						<li><a class="ajax-link" href="Default.aspx#ajax/gallery_flickr.html">Flickr Gallery</a></li>
					</ul>
				</li>
				<li>
					 <a class="ajax-link" href="Default.aspx#ajax/typography.html">
						 <i class="fa fa-font"></i>
						 <span class="hidden-xs">Typography</span>
					</a>
				</li>
				 <li>
					<a class="ajax-link" href="Default.aspx#ajax/calendar.html">
						 <i class="fa fa-calendar"></i>
						 <span class="hidden-xs">Calendar</span>
					</a>
				 </li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle">
						<i class="fa fa-picture-o"></i>
						 <span class="hidden-xs">Multilevel menu</span>
					</a>
					<ul class="dropdown-menu">
						<li><a href="#">First level menu</a></li>
						<li><a href="#">First level menu</a></li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle">
								<i class="fa fa-plus-square"></i>
								<span class="hidden-xs">Second level menu group</span>
							</a>
							<ul class="dropdown-menu">
								<li><a href="#">Second level menu</a></li>
								<li><a href="#">Second level menu</a></li>
								<li class="dropdown">
									<a href="#" class="dropdown-toggle">
										<i class="fa fa-plus-square"></i>
										<span class="hidden-xs">Three level menu group</span>
									</a>
									<ul class="dropdown-menu">
										<li><a href="#">Three level menu</a></li>
										<li><a href="#">Three level menu</a></li>
										<li class="dropdown">
											<a href="#" class="dropdown-toggle">
												<i class="fa fa-plus-square"></i>
												<span class="hidden-xs">Four level menu group</span>
											</a>
											<ul class="dropdown-menu">
												<li><a href="#">Four level menu</a></li>
												<li><a href="#">Four level menu</a></li>
												<li class="dropdown">
													<a href="#" class="dropdown-toggle">
														<i class="fa fa-plus-square"></i>
														<span class="hidden-xs">Five level menu group</span>
													</a>
													<ul class="dropdown-menu">
														<li><a href="#">Five level menu</a></li>
														<li><a href="#">Five level menu</a></li>
														<li class="dropdown">
															<a href="#" class="dropdown-toggle">
																<i class="fa fa-plus-square"></i>
																<span class="hidden-xs">Six level menu group</span>
															</a>
															<ul class="dropdown-menu">
																<li><a href="#">Six level menu</a></li>
																<li><a href="#">Six level menu</a></li>
															</ul>
														</li>
													</ul>
												</li>
											</ul>
										</li>
										<li><a href="#">Three level menu</a></li>
									</ul>
								</li>
							</ul>
						</li>
					</ul>
				</li>
			</ul>
		</div>
		<!--Start Content-->
		<div id="content" class="col-xs-12 col-sm-10">
			<div class="preloader">
				<img src="img/devoops_getdata.gif" class="devoops-getdata" alt="preloader"/>
                              <div class="progress progress-striped active">
                <div class="progress-bar progress-bar-info" style="width: 100%"></div>
              </div>
			</div>
			<div id="ajax-content"></div>
		</div>
		<!--End Content-->
	</div>
</div>
        <style>
            #timer, #time{
    display: inline;
}
        </style>
<!--End Container-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!--<script src="http://code.jquery.com/jquery.js?v=20140709"></script>-->
<script src="plugins/jquery/jquery-2.1.0.min.js?v=20140709"></script>
<script src="plugins/jquery-ui/jquery-ui.min.js?v=20140709"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="plugins/bootstrap/bootstrap.min.js?v=20140709"></script>
<script src="plugins/justified-gallery/jquery.justifiedgallery.min.js?v=20140709"></script>
<%--<script src="plugins/tinymce/tinymce.min.js?v=20140709"></script>
<script src="plugins/tinymce/jquery.tinymce.min.js?v=20140709"></script>--%>
<script src="js/jquery.vmap.js?v=20140709"></script>
<script src="js/jquery.vmap.turkey.js?v=20140709"></script>
<script src="plugins/jquery.countdown/jquery.countdown.js"></script>
<!-- All functions for this theme + document.ready processing -->
<script src="js/devoops.js?v=20140709"></script>
        <script>
            function bonoal(uyeno, bonono) {
                $('.preloader').show();
                var istek = $.ajax({
                    type: "POST",
                    url: "Ajaxislemler.asmx/AjaxBonoSatinAl",
                    data: "{UyeNo:'" + uyeno + "',BonoNo:'" + bonono + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (msg) {
                        $('#bono' + bonono).text(msg.d[1]);
                        $('.preloader').hide();
                    }
                });
            }
            function bonokodal(divid, kod) {
                $('.preloader').show();
                $.ajax({
                    type: "POST",
                    url: "Ajaxislemler.asmx/AjaxBonoSatinAlKod",
                    data: "{KodNe:'" + kod + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (msg) {
                        $('#bono' + divid).text(msg.d[0] + msg.d[1]);
                        $('.preloader').hide();

                    }
                });
            }
            function bseviyekodal(divid, kod) {
                $('.preloader').show();
                $.ajax({
                    type: "POST",
                    url: "Ajaxislemler.asmx/AjaxBinaSeviyeYukselt",
                    data: "{KodNe:'" + kod + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (msg) {
                        $('#binaseviye' + divid).text(msg.d[0] + msg.d[1]);
                        $("#bina_seviyesi").text(msg.d[2]);
                        $('.preloader').hide();
                    }
                });

            }
            function tseviyekodal(divid, kod) {
                $('.preloader').show();
                $.ajax({
                    type: "POST",
                    url: "Ajaxislemler.asmx/AjaxTeknolojiSeviyeYukselt",
                    data: "{KodNe:'" + kod + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (msg) {
                        $('#teknolojiseviye' + divid).text(msg.d[0] + msg.d[1]);
                        $("#tekno_seviyesi").text(msg.d[2]);
                        $('.preloader').hide();
                    }
                });
            }
            function iscial(divid, kod) {//Kodda fabrikano/iscituru/
                $('.preloader').show();
                var iscituru = divid;
                var miktari = $('#txtIsciMiktar' + divid).val();
                //   alert(miktari);
                $.ajax({
                    type: "POST",
                    url: "Ajaxislemler.asmx/AjaxIsciAl",
                    data: "{KodNe:'" + kod + "',Miktar:'" + miktari + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (msg) {
                        $('#isci' + divid).text(msg.d[0] + msg.d[1] + msg.d[2] + msg.d[3]);
                        $('.preloader').hide();
                    }
                });
            }
            function fiyatguncelle(kod) {//Kodda fabrikano/iscituru/
                $('.preloader').show();
                var miktari = $(".slider-satis-fiyati").val();
          //      alert(miktari);
                $('#satis_fiyati').text(miktari + " TL");
                $('.preloader').hide();
                //$.ajax({
                //    type: "POST",
                //    url: "Ajaxislemler.asmx/AjaxIsciAl",
                //    data: "{KodNe:'" + kod + "',Miktar:'" + miktari + "'}",
                //    contentType: "application/json; charset=utf-8",
                //    dataType: "json",
                //    success: function (msg) {
                //        $('#isci' + divid).text(msg.d[0] + msg.d[1] + msg.d[2] + msg.d[3]);
                //        $('.preloader').hide();
                //    }
                //});
            }
            function sunucusaati() {
        //        var tarih = "<%=DateTime.Now.ToString()%>";
                var now = new Date(),
                    now = now.getHours() + ':' + now.getMinutes() + ':' + now.getSeconds();
                $('#server-time').html(now);
            }
        </script>
    </form>
</body>
</html>
